<% provide(:title, "首页") %>

<div class="container">
  <div class="row">
    <div class="col-8">
      <%= render @articles %>
      <div class="digg_pagination">
        <%= will_paginate @articles, :container => false %>
      </div>
    </div>
    <div class="col-4">
      <%= render @categories %>
    </div>
  </div>

</div>
<% if mobile? %>
  <p>这个是手机端</p>
<% end %>